<%@page import="br.com.skpharma.vo.*,br.com.skpharma.dao.*,java.util.*" contentType="text/html; charset=ISO-8859-1"%>
<%
	if(request.getParameter("Salvar") != null){
	DAOTipo daoTipo = new DAOTipo();
	daoTipo.getTipoVO().setDs(request.getParameter("descricao"));
	daoTipo.salvar();
%>
	<jsp:forward page="index.jsp"/>
<%
}
%>

<html>

<head>
<title></title>
<link href="../css/css.css" rel="stylesheet" type="text/css">
</head>

<body>

<p align="center">Cadastro de Tipos de Produtos de Prateleira</p>

<form method="POST" action="inserir.jsp" >
  <div align="center">
  <table border="1" style="font-size:9px">
  	<tr>
      <td width="50%" height="23">Descricao:</td>
      <td width="50%" height="23"><input style="font-size:9px" type="text" name="descricao" size="20"></td>
    </tr>
    
    
    <tr>
      <td width="100%" height="19" colspan="2"><div align="center">
      	<center>
		<input type="submit" value="Salvar" name="Salvar" style="font:Verdana, Arial, Helvetica, sans-serif; font-size:10px">
		<input type="reset" value="Limpar" name="Limpar" style="font:Verdana, Arial, Helvetica, sans-serif; font-size:10px">
	</td>
    </tr>
  </table>
  </center></div>
</form>
</body>
</html>
